import Testing
@testable import AppNetwork


@Test func example() async throws {
    // Write your test here and use APIs like `#expect(...)` to check expected conditions.
    
    let param: [String:Any] = [
        "name": "我是大哥",
        "value": 99,
    ]
    if let model = AppNetwork.myDecoder(BModel.self, param: param) {
        print("这个模型是啥==>\(model)")
    } else {
        print("解析错误===!!!")
    }
   
    await AppNetwork.alamofireAct()
}

struct BModel: Codable {
    var name: String?
    var value: Int?
}
